package com.sbtr.business.feature.dto;

import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import com.sbtr.common.PageParams;
import io.swagger.annotations.ApiModel;


/**
 * 特征画布字段列表 实体类
 *
 * @author dgl
 * @since 2023-03-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="FeCanvasDto对象", description="特征画布字段列表")
public class FeCanvasDto extends PageParams {

    @ApiModelProperty(value = "id")
    @TableId(value = "id")
    private Long id;

    @ApiModelProperty(value = "画布名称,定义特征处理名称，唯一性")
    private String name;

    @ApiModelProperty(value = "画布说明")
    private String explains;

    @ApiModelProperty(value = "所属项目iteminfo 表ID，外键，非必须包含")
    private String iteminfoId;

    @ApiModelProperty(value = "所属项目名称,冗余存储，来自iteminfo表")
    private String itemname;

    @ApiModelProperty(value = "创建者")
    private String creater;


    @ApiModelProperty(value = "画布内容样式json")
    private String contentJson;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")// 后台传数据到前台
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") //前台传数据到后台
    private Date createTime;



}
